package work.mediway.mdm.biz.mapper.hierarchy;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import org.apache.ibatis.annotations.Param;

import java.util.List;

import work.mediway.mdm.biz.entity.hierarchy.HosOrganization;

/**
 * <p>
 * 组织机构树 Mapper 接口
 * </p>
 *
 * @author ruoyi
 * @since 2022-08-25
 */
public interface HosOrganizationMapper extends BaseMapper<HosOrganization> {

    /**
     * 查询组织
     *
     * @param page            Page<HosOrganization>
     * @param hosOrganization HosOrganization
     * @return List<HosOrganization>
     */
    List<HosOrganization> findHosOrganization(Page<HosOrganization> page, @Param("hosOrganization") HosOrganization hosOrganization);
}
